package com.gzcstec.result;

/**
 * 返回参数、参数说明类
 */
public class MsgCode {

    /**
     * 状态码
     */
    private int code;

    /**
     * 结果说明
     */
    private String msg;

    public MsgCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public static final MsgCode SUCCESS = new MsgCode(200 , "成功");

    public static final MsgCode SYSTEM_ERROR = new MsgCode(200500 , "系统运行错误");



    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
